CLI to move faster in software projects
It has deep integration into 1focus.ai. f stands for focus.
To install CLI, run: bun i -g @1focus/f. This should make f available in your PATH.
You can also run it via bunx @1focus/f@latest <command> to always use the latest version of the CLI.
See f --help for instructions of what you can do.
Install task. Then run task setup & follow instructions until it says ✔️ you are setup.
Run task to see all possible commands.
f --help
f is CLI to move faster in software projects
Usage:
f [command]
Run `f` without arguments to open the interactive command palette.
Available Commands:
help Help about any command
commit Generate a commit message with GPT-5 nano and create the commit
version Reports the current version of fgo
Flags:
-h, --help help for fgo
Use "f [command] --help" for more information about a command.
Running f without any arguments opens an embedded fzf palette so you can fuzzy-search commands and read their descriptions before executing them.
For f commit, export OPENAI_API_KEY in your shell profile (e.g. fish config) so the CLI can talk to OpenAI. This environment variable is the only requirement, so the command works in local shells and CI alike.
Any PR to improve is welcome. codex & cursor are nice for dev. Great working & useful patches are most appreciated (ideally). Issues with bugs or ideas are welcome too.
Note that this CLI is very opinionated in how workflows are done. Suggestions are welcome of course but we want to give our happy path of how we at 1focus.ai plan to write complex software of any kind.