-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
37 lines (31 loc) · 831 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env node
const meow = require("meow");
const myedenred = require("./cli.js");
const cli = meow(
`
Usage
$ myedenred <command> <flags>
Commands & Options
ls List currently syncing accounts
import Sync bank accounts to Actual Budget
config Print the location of myedenredactual the config file
--version Print the version of myedenredactual being used
Options for all commands
--user, -u Specify the user to load configs for
Examples
$ myedenred import
`,
{
flags: {
user: {
alias: "u",
type: "string",
},
account: {
alias: "a",
type: "string",
},
},
}
);
myedenred(cli.input[0], cli.flags);