Passerine's package manager.
To install the aspen
command, run this in the shell of your choice:
zsh
sh <(curl -sSf https://www.slightknack.dev/static/install.sh)
This requires git and a recent version of Cargo to work.
You can inspect the contents of install.sh
first if you want,
we're not trying to play any tricks on you.
To try out Passerine:
bash
cargo run aspen -q -- new example
example
in the current directory.
Open this project and look through it in your editor of choice.bash
cargo run apsen -q -- run example
If your cwd is a Passerine project,
example
can be omitted. Note that in the future, once prebuilt binaries are installed and distributed, the above process will essentially beaspen new example
andaspen run
.
NOTE: Not all commands are implemented ATM. Commands in bold are partially or wholly implemented.
| Command | Result |
| --------- | --------------------------------------------------------- |
| update
| Updates the Passerine toolchain. |
| new
| Creates a new Passerine package. |
| publish
| Publishes package to the registries in Aspen.toml
. |
| pull
| Pulls fresh packages from the registries in Aspen.toml
. |
| add
| Adds a dependency to Aspen.toml
. |
| run
| Builds and runs the corresponding Passerine package. |
| test
| Builds and runs the package's tests. |
| bench
| Builds and runs the package's benchmarks. |
| doc
| Builds the package's documentation. |
| debug
| Builds and runs the package in interactive debug mode. |
An optional path to the project root may be provided.