aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-21 15:52:45 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-21 15:52:45 +0000
commit76b80294047d05360e8069f5c397c9850674cd54 (patch)
tree1460ea0e30c607128203be16bb76e2c0aec79fa8 /share
parentc24cc0f4ef43be035cf31116c46904f723b5607f (diff)
downloadrecit-76b80294047d05360e8069f5c397c9850674cd54.tar.gz
add getopts to add-project
Diffstat (limited to 'share')
-rw-r--r--share/recit/recit.example.rec6
-rw-r--r--share/recit/templates/projects.templ2
2 files changed, 5 insertions, 3 deletions
diff --git a/share/recit/recit.example.rec b/share/recit/recit.example.rec
index ec394d6..27e9f4d 100644
--- a/share/recit/recit.example.rec
+++ b/share/recit/recit.example.rec
@@ -2,8 +2,10 @@
# Version: 0.0.2
%rec: Project
%key: Id
-%mandatory: Name Status
-%allowed: Notes
+%mandatory: Status Created
+%allowed: Notes Created
+%type: Created date
+%auto: Created
%rec: Entry
%key: Id
diff --git a/share/recit/templates/projects.templ b/share/recit/templates/projects.templ
index cfe77ba..35be230 100644
--- a/share/recit/templates/projects.templ
+++ b/share/recit/templates/projects.templ
@@ -1,3 +1,3 @@
-\033[1;33m{{Id}}\033[0m ({{Status}})
+{{Created}} \033[1;33m{{Id}}\033[0m ({{Status}})
{{Notes}}