Yfin is the Official package manager for the Y-flat programming language. Yfin allows the user to install, upgrade, and uninstall packages. It also allows a user to initialize a package with the Y-flat package structure and files automatically generated. In future, Yfin will also allow users to publish packages.
yfin <SUBCOMMAND>
-h, --help Prints help information
-V, --version Prints version information
help Prints this message or the help of the given subcommand(s)
init Initialize a package
install Install from git repo url
install-compiler Install compiler yfin install-compiler
install-yflib Install yflib yfin install-yflib
uninstall Uninstall package
upgrade Install newer version of package
If you have cargo on your machine, skip to step 3
-
Install
rustup.rs
. -
Setup rust
rustup override set stable rustup update stable
-
Install from crates
cargo install --git https://github.com/JakeRoggenbuck/yfin
Create a new package with yfin init <name>
or yfin init
for the current directory.
Here is what you will see in the directory.
yf-package-example (main) λ tree .
.
├── package.yml
└── src
└── lib.yf
1 directory, 3 files