-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Roadman to fulfill cyberfabric/cyberfabric-core#312 (comment)
The idea will be to create a CLI to handle the different use cases that a developer or a user can have. We will organize the main functionality into 5 groups:
- setup
- lint
- test
- run
- build
Each of the groups will have their corresponding CLI command with different functionality:
-
setup-
toolsinstall/update required tooling (by default checks in the environment what tools you miss or needs to be upgraded). Ideally each tool should be categorized (maybe someon-
--upgradeupgrade your installed tools to the recommended version of the tool -
--installinstall a comma separated tools -
--install-yoloinstall all tools without asking feedback -
--verboseadd verbosity
-
-
templategenerate template for new repo-
init PATHinitialize the barebones for a new cyberfabric project -
add MODULEgenerates a new module from a template (you could choose from a list)
-
-
confighandles and validate the configuration file
-
-
lint- when you run it without any other params it will run
clippy(which includes cargo check) + our customdylintrules - --clippy to just run clippy with our custom set of lints
- --dylint to just run our custom dylint rules
- --pattern used only when dylint is provided, it will run a specific dylint rule from the set
- when you run it without any other params it will run
-
testrun all available tests-
--e2erun only end to end tests -
--modulerun tests for a given module -
--coveragerun with coverage
-
-
runfire up a hyperspot server with hot-module reload-
-rin release mode -
-cconfiguration to run the server
-
-
build-
-rin release mode -
-cconfiguration to run the server
-
- ✗
deploynot planned for now
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed