aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-21 15:31:03 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-21 15:31:03 +0000
commitc24cc0f4ef43be035cf31116c46904f723b5607f (patch)
tree9fdcf18e8fc24e138515ba395aa822356f2733e9 /share
parenta44d810632cb9b9527b6b220d486cea577802c72 (diff)
downloadrecit-c24cc0f4ef43be035cf31116c46904f723b5607f.tar.gz
recit-setup and recit-ls alias
Diffstat (limited to '')
-rw-r--r--share/recit/recit.example.rec11
-rw-r--r--share/recit/templates/projects.templ3
2 files changed, 9 insertions, 5 deletions
diff --git a/share/recit/recit.example.rec b/share/recit/recit.example.rec
index 81cfc8c..ec394d6 100644
--- a/share/recit/recit.example.rec
+++ b/share/recit/recit.example.rec
@@ -1,13 +1,14 @@
+# recit recutils recfile template/schema
+# Version: 0.0.2
%rec: Project
%key: Id
-
-Id: example-project
-Status: open
-Notes: blah blah
+%mandatory: Name Status
+%allowed: Notes
%rec: Entry
%key: Id
%type: Time date
%auto: Time
%type: ProjectRef rec Project
-%sort: Time \ No newline at end of file
+%sort: Time
+%mandatory: Id Time Notes \ No newline at end of file
diff --git a/share/recit/templates/projects.templ b/share/recit/templates/projects.templ
new file mode 100644
index 0000000..cfe77ba
--- /dev/null
+++ b/share/recit/templates/projects.templ
@@ -0,0 +1,3 @@
+\033[1;33m{{Id}}\033[0m ({{Status}})
+{{Notes}}
+