Releases: YabetsZ/tempo
Releases · YabetsZ/tempo
v0.1.0-alpha.1
Added
- Initial alpha release of
tempo. - Core template management functionalities:
tempo add <name> <source_file_path>: Adds a new code template.tempo apply <template_name> <destination_path> [options]: Applies a template to a destination. Supports overwrite (-o), append (-a), and prepend (-p) strategies for existing files. (Formerlynew).tempo list(aliasls): Lists all stored templates.tempo remove <template_name>(aliasrm): Deletes a template.tempo show <template_name>: Prints the content of a template to stdout.tempo edit <template_name>: Opens a template in the default system editor.tempo path <template_name>: Prints the full filesystem path to a stored template file.
- Manifest System:
- Templates and their metadata (filename in storage, creation/update timestamps, source extension) are managed via
manifest.tomllocated in the application's config directory. - Commands
add,list,remove,apply,show,edit,pathare all manifest-aware.
- Templates and their metadata (filename in storage, creation/update timestamps, source extension) are managed via
- Global Flags:
-f, --force: Bypasses confirmations (e.g., forremove) or forces overwrites (e.g., forapplywhen no strategy is specified and destination exists).-v, --verbose: Enables more detailed output.-q, --quiet: Suppresses informational output (errors are still shown). Verbose and quiet are mutually exclusive.
- Error Handling: Centralized
AppErrortype for consistent error reporting. - Output Management:
OutputConfigstruct for handling verbose/quiet printing. - Basic project structure with
main.rs,cli.rs,config.rs,manifest.rs,error.rs,utils.rs, and acommands/module.