nyx-space / anise

ANISE provides a toolkit and files for Attitude, Navigation, Instrument, Spacecraft, and Ephemeris data. It's a modern replacement of the NAIF SPICE toolkit.
Mozilla Public License 2.0
68 stars 14 forks source link

Clean up the CLI code #240

Closed ChristopherRabotin closed 3 months ago

ChristopherRabotin commented 6 months ago

Maintenance task description

The CLI code has a fair amount of duplication, notably on the processing of SPK and PCKs since the same functions exist for both. The purpose of this task is to use clap's subcommands to clean up the code, possibly by introducing breaking changes in how the command is executed.

Scope of work

anise/anise-cli/src/main.rs will have the brunt of the work. The architecture need to be rethought through here.

Priority

Low, tech debt stuff

ChristopherRabotin commented 3 months ago

Done by @cmleinz in #286. Thanks Caleb!