-
Notifications
You must be signed in to change notification settings - Fork 262
/
Copy pathbmc-completions.nu
84 lines (72 loc) · 2.42 KB
/
bmc-completions.nu
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# completions for botmaker-cli
def "nu-complete list client actions" [] {
glob **/*.js --depth 2 | path basename
}
export extern "bmc" [
command?: string # command
--help # Show help
--version # Show version number
]
# Run a Botmaker Client Action Script
export extern "bmc run" [
source: string@"nu-complete list client actions" # client action to run
--help # Show help
--version # Show version number
]
# Import a new business from a token
export extern "bmc import" [
apiToken: string # command
--help # Show help
--version # Show version number
]
# Load context for a customer
export extern "bmc set-customer" [
customerId: string # command
--help # Show help
--version # Show version number
]
# Show change status
export extern "bmc status" [
caName?: string@"nu-complete list client actions" # client action to check
--help # Show help
--version # Show version number
]
# Diff client actions states
export extern "bmc diff" [
caName: string@"nu-complete list client actions" # client action to check
code: string # command
--help # Show help
--version # Show version number
--vs-code(-v) # Open in vs-code
]
# Pull incoming changes
export extern "bmc pull" [
caName?: string@"nu-complete list client actions" # client action to pull
--help # Show help
--version # Show version number
]
# Create a new client action
export extern "bmc new" [
caName: string # command
--help # Show help
--version # Show version number
]
# Push changes in client action
export extern "bmc push" [
caName?: string@"nu-complete list client actions" # client action to push
--help # Show help
--version # Show version number
]
# Publish changes in client action
export extern "bmc publish" [
caName: string@"nu-complete list client actions" # client action to publish
--help # Show help
--version # Show version number
]
# Renames the given client action
export extern "bmc rename" [
caOldName: string@"nu-complete list client actions" # client action to rename
caNewName: string # new name
--help # Show help
--version # Show version number
]