Tools
fb new
Makes a package in a new folder.
fb new [options] <folder>fb new makes a package in a new folder, or in an empty one: a
project.toml, a main.fb that prints “Hello, world!”, and a
.gitignore that leaves out build/. The package is named after the folder, so the folder’s name
is an identifier: letters, digits, and _, not starting with a digit, and not a keyword. fb new .
makes one in the current folder, named after it.
Options
| Option | |
|---|---|
--color <when> | Colors the output: auto, always, or never |
Examples
fb new hello
cd hello
fb run Created package hello in hello
Compiling hello v0.1.0 (/home/ada/hello)
Finished debug build in 0.86s
Running hello
Hello, world!The project.toml it writes:
[project]
name = "hello"
version = "0.1.0"Report an issue with this page or with FutureBlitz on GitHub.