knqyf263 / pet

Simple command-line snippet manager
MIT License
4.41k stars 222 forks source link

Have multiple commands per snippet #232

Closed owensmallwood closed 9 months ago

owensmallwood commented 9 months ago

Changes

  1. Can list snippets with multiple commands. They still don't look great when listing them, but it works for now.
  2. Only gives an error when the description and command exist.
  3. When creating a new snippet, if one with that description exists, it will append the command to its list of commands.
  4. Commands are stored in an array in the toml config file now.