See on GitHub

yfin 0.1.2 Rust

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.

Usage

 yfin <SUBCOMMAND>

Flags

 -h, --help       Prints help information
 -V, --version    Prints version information

Subcommands

 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

Install Latest

If you have cargo on your machine, skip to step 3

  1. Install rustup.rs.

  2. Setup rust

    rustup override set stable
    rustup update stable
    
  3. Install from crates

    cargo install --git https://github.com/JakeRoggenbuck/yfin
    

New package

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

Join the discussion

discord

Full (0.1.1)

Watch the video

Install Compiler (0.1.2)

Watch the video