-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
189 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import { bigtest, create, perms } from './app/index.js'; | ||
|
||
export default { | ||
command: 'app <command>', | ||
describe: 'Commands to create and manage stripes UI apps', | ||
builder: yargs => yargs.commandDir('app'), | ||
builder: yargs => yargs.command([bigtest, create, perms]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as bigtest } from './bigtest.js'; | ||
export { default as create } from './create.js'; | ||
export { default as perms } from './perms.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import alias from './alias.js'; | ||
import app from './app.js'; | ||
import build from './build.js'; | ||
import inventory from './inventory.js'; | ||
import mod from './mod.js'; | ||
import okapi from './okapi.js'; | ||
import perm from './perm.js'; | ||
import platform from './platform.js'; | ||
import serve from './serve.js'; | ||
import status from './status.js'; | ||
import test from './test.js'; | ||
import translate from './translate.js'; | ||
import transpile from './transpile.js'; | ||
import workspace from './workspace.js'; | ||
|
||
export const commands = [ | ||
alias, | ||
app, | ||
build, | ||
inventory, | ||
mod, | ||
okapi, | ||
perm, | ||
platform, | ||
serve, | ||
status, | ||
test, | ||
translate, | ||
transpile, | ||
workspace, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
import { | ||
add, | ||
descriptor, | ||
disable, | ||
discover, | ||
enable, | ||
filter, | ||
install, | ||
list, | ||
perms, | ||
pull, | ||
remove, | ||
update, | ||
view, | ||
} from './mod/index.js'; | ||
|
||
export default { | ||
command: 'mod <command>', | ||
describe: 'Commands to manage UI module descriptors', | ||
builder: yargs => yargs.commandDir('mod'), | ||
builder: yargs => yargs.command([ | ||
add, | ||
descriptor, | ||
disable, | ||
discover, | ||
enable, | ||
filter, | ||
install, | ||
list, | ||
perms, | ||
pull, | ||
remove, | ||
update, | ||
view, | ||
]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export { default as add } from './add.js'; | ||
export { default as descriptor } from './descriptor.js'; | ||
export { default as disable } from './disable.js'; | ||
export { default as discover } from './discover.js'; | ||
export { default as enable } from './enable.js'; | ||
export { default as filter } from './filter.js'; | ||
export { default as install } from './install.js'; | ||
export { default as list } from './list.js'; | ||
export { default as perms } from './perms.js'; | ||
export { default as pull } from './pull.js'; | ||
export { default as remove } from './remove.js'; | ||
export { default as update } from './update.js'; | ||
export { default as view } from './view.js'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
import { | ||
cookies, | ||
login, | ||
logout, | ||
pathDelete, | ||
pathGet, | ||
pathPost, | ||
pathPut, | ||
token, | ||
} from './okapi/index.js'; | ||
|
||
export default { | ||
command: 'okapi <command>', | ||
describe: 'Okapi commands (login and logout)', | ||
builder: yargs => yargs.commandDir('okapi'), | ||
builder: yargs => yargs.command([ | ||
cookies, | ||
login, | ||
logout, | ||
pathDelete, | ||
pathGet, | ||
pathPost, | ||
pathPut, | ||
token, | ||
]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { default as cookies } from './cookies.js'; | ||
export { default as login } from './login.js'; | ||
export { default as logout } from './logout.js'; | ||
export { default as pathDelete } from './pathDelete.js'; | ||
export { default as pathGet } from './pathGet.js'; | ||
export { default as pathPost } from './pathPost.js'; | ||
export { default as pathPut } from './pathPut.js'; | ||
export { default as token } from './token.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
import { | ||
assign, | ||
create, | ||
filter, | ||
list, | ||
unassign, | ||
} from './perm/index.js'; | ||
|
||
export default { | ||
command: 'perm <command>', | ||
describe: 'Commands to manage UI module permissions', | ||
builder: yargs => yargs.commandDir('perm'), | ||
builder: yargs => yargs.command([ | ||
assign, | ||
create, | ||
filter, | ||
list, | ||
unassign, | ||
]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { default as assign } from './assign.js'; | ||
export { default as create } from './create.js'; | ||
export { default as filter } from './filter.js'; | ||
export { default as list } from './list.js'; | ||
export { default as unassign } from './unassign.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
import { | ||
backend, | ||
clean, | ||
install, | ||
pull, | ||
} from './platform/index.js'; | ||
|
||
export default { | ||
command: 'platform <command>', | ||
describe: 'Commands to manage stripes UI platforms', | ||
builder: yargs => yargs.commandDir('platform'), | ||
builder: yargs => yargs.command([ | ||
backend, | ||
clean, | ||
install, | ||
pull, | ||
]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export { default as backend } from './backend.js'; | ||
export { default as clean } from './clean.js'; | ||
export { default as install } from './install.js'; | ||
export { default as pull } from './pull.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as karma } from './karma.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import { compile, pcheck, stats } from './translate/index.js'; | ||
|
||
export default { | ||
command: 'translate <command>', | ||
describe: 'Commands to manage translations in UI platforms', | ||
builder: yargs => yargs.commandDir('translate'), | ||
// @@builder: yargs => yargs.commandDir('translate'), | ||
builder: yargs => yargs.command([compile, pcheck, stats]), | ||
handler: () => {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as compile } from './compile.js'; | ||
export { default as pcheck } from './pcheck.js'; | ||
export { default as stats } from './stats.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters