enbas/internal/executor
Dan Anglin 84091f398d
feat: add Enbas CLI schema and code generator
Summary:

- Created a custom CLI schema for Enbas which will act as the Source
  of Truth for code and document generation.
- Created a code generator which uses the schema to generate the
  executor definitions and code in the internal usage package.

Changes:

- Created the Enbas CLI schema as the Source of Truth for Enbas.
- Created the code generator that generates the executor
  definitions and code in the usage package.
- Regenerated the executor definitions using the code generator.
- Moved the custom flag value types to the new internal flag
  package.
- Created a new flag value type for the bool pointer to replace the
  flag.BoolFunc() used for the sensitive and no-color flags.
- Moved the version and build variables to the new internal version
  package to simplify the version executor.
- Created a new usage package and moved the usage functions there.
- Changed the type of the account-name flag from string to the
  internal StringSliceValue type.
2024-08-13 14:53:26 +01:00
..
accept.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
account.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
add.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
block.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
codegen.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
create.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
delete.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
edit.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
errors.go feat: add all-images and all-videos flags 2024-08-01 04:24:47 +01:00
execute.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
executors.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
flags.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
follow.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
init.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
login.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
mute.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
reject.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
remove.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
resources.go chore: REUSE.toml 2024-08-01 04:01:38 +01:00
show.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
switch.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
unblock.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
unfollow.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
unmute.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
version.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
whoami.go feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00