From d7fff0b83e0bc931e29a3e64c1f978a09a3fd429 Mon Sep 17 00:00:00 2001 From: Mx Kookie Date: Tue, 15 Dec 2020 19:41:48 +0000 Subject: cassiopeia: finishing up version 0.3.0 This commit does kind of a lot to get cass(1) over the finish line. For one it implements all the CLI functions (well, almost all) with their respective parameters, and also creates a new `gen` module which uses the IR stream to generate a new file based on the old one, while updating header fields that need to be updated (currently only `version`). This version does nothing with the actual header values, and probably has a lot of bugs. More documentation will follow in future cassiopeia commits. --- apps/cassiopeia/src/meta.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/cassiopeia/src/meta.rs') diff --git a/apps/cassiopeia/src/meta.rs b/apps/cassiopeia/src/meta.rs index 6d74d95bfe2a..d29f8b9b30e0 100644 --- a/apps/cassiopeia/src/meta.rs +++ b/apps/cassiopeia/src/meta.rs @@ -23,6 +23,9 @@ pub const CMD_INVOICE_ABOUT: &'static str = "Create an invoice. You get to choo statement to your time file, or generating .yml configuration to build an invoice generator from. See invoice(1) \ for more detail!"; +pub const CMD_UPDATE: &'static str = "update"; +pub const CMD_UPDATE_ABOUT: &'static str = "Update the selected file to a new version"; + pub const ARG_CLIENT: &'static str = "CLIENT"; pub const ARG_CLIENT_ABOUT: &'static str = "Provide the name of the current client for invoice generation"; -- cgit v1.2.3