Fleek CLI provides a unified command line interface to Fleek Services.
- NodeJS as runtime environment.
- Commander.js as CLI creation tool.
- ESLint with Prettier for linting.
- Esbuild for files bundling.
The Fleek CLI command has the following structure:
$ fleek <service> <command> [options and parameters]
To view all available services and commands use:
$ fleek help
To see all available commands for a service, use the help documentation as any one of the followings:
$ fleek <service> help
$ fleek <service> <command> help
To get the version of the Fleek CLI:
$ fleek --version
- Install NodeJS from the official website or using nvm.
- Install pnpm dependency manager.
- Install dependencies usign
pnpm i
from rootpath. - Prepare your changes.
-
CLI_COMMAND="<command> <subcommand> [options and parameters]" pnpm dev
, and happy testing!
- Fork it
- Create your feature branch:
git checkout -b my-new-feature
- Run the tests:
pnpm test
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Create new Pull Request following the corresponding template guidelines