Skip to content

Remove CliFx and Implement a new solution for cli. #24

@yldrefruz

Description

@yldrefruz

Currently ebuild's cli use the CliFx. This was good for the beginning stage of the application. However
we need more complex usages:

  • supplying the same flag for creating multiple definitions with different usages -D X=1 -D Y=1 -DA=1 -D"B=1".
  • Changing previous usage. -D X=1 -DX=2 must define X as 2.
  • Making it so subcommands are creatable easily instead of specifying in multiple places.
  • Displaying help for the current command when there is an error.
  • Global arguments.
  • Local-only arguments (arguments that should be specified for a specific command like ebuild -v generate compile_commands.json) so a flag can have multiple meanings for different commands.
  • Extensibility for plugins (this requires us to create a new project.)

So a new project will be added to the ebuild solution named ebuild.cli

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions