Sword
CLI for rapid management of Crystal projects.
Navigate to the directory containing shards.yml and run any of these:
sword get <package-url> [optional: version]
— Add a dependencysword rm <package-url>
— Remove a dependencysword up
— Update and prune dependenciessword b <build-args>
— Build the projectsword t <target-name> <source-file.cr>
— Add a target to the projectsword br
— Build the project in release modesword bs
— Build the project with static linkingsword init <name>
— Initialize a new projectsword c <source-file>
— Compile a.cr
file into an executablesword search <query>
— Search for packagessword deps
— Show the dependency treesword info <shard-name>
— Show shard informationsword clean
— Clean cachesword version
— Show the current versionsword about
— About the toolsword help
— Display help
License
GPL v3