Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -1,14 +1,14 @@
|
|||
/* simdb.wren */
|
||||
/* Simple_database.wren */
|
||||
|
||||
import "os" for Process
|
||||
import "/ioutil" for File, FileFlags, FileUtil
|
||||
import "/trait" for Comparable
|
||||
import "/iterate" for Reversed
|
||||
import "/date" for Date
|
||||
import "/sort" for Sort
|
||||
import "/str" for Str
|
||||
import "./ioutil" for File, FileFlags, FileUtil
|
||||
import "./trait" for Comparable
|
||||
import "./iterate" for Reversed
|
||||
import "./date" for Date
|
||||
import "./sort" for Sort
|
||||
import "./str" for Str
|
||||
|
||||
var fileName = "simdb.csv"
|
||||
var fileName = "Simple_database.csv"
|
||||
|
||||
Date.default = Date.isoDate
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ class Item is Comparable {
|
|||
var printUsage = Fn.new {
|
||||
System.print("""
|
||||
Usage:
|
||||
wren simdb.wren cmd [categoryName]
|
||||
wren Simple_database.wren cmd [categoryName]
|
||||
add add item name and date, followed by optional category
|
||||
latest print item with latest date, followed by optional category
|
||||
all print all
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import "./str" for Str
|
|||
var printUsage = Fn.new {
|
||||
System.print("""
|
||||
Usage:
|
||||
wren simdb.wren cmd [categoryName]
|
||||
wren Simple_database.wren cmd [categoryName]
|
||||
add add item name and date, followed by optional category
|
||||
latest print item with latest date, followed by optional category
|
||||
all print all
|
||||
|
|
@ -41,7 +41,7 @@ if (!(1..4).contains(args.count)) {
|
|||
}
|
||||
|
||||
// create a new Table object
|
||||
var tableName = "simdb"
|
||||
var tableName = "Simple_database"
|
||||
var table
|
||||
if (Table.fileExists(tableName)) {
|
||||
table = Table.load(tableName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue