Skip to content

Commit 6695612

Browse files
Itai GendlerItai Gendler
authored andcommitted
Add aliases to all resources
1 parent 5d171d3 commit 6695612

23 files changed

+28
-7
lines changed

lib/interface/cli/commands/composition/create.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const createRoot = require('../root/create.cmd');
1010

1111
const command = new Command({
1212
command: 'composition [name]',
13+
aliases: ['com'],
1314
description: 'Create a composition',
1415
builder: (yargs) => {
1516
return yargs

lib/interface/cli/commands/composition/delete.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const deleteRoot = require('../root/delete.cmd');
88

99
const command = new Command({
1010
command: 'composition [name]',
11+
aliases: ['com'],
1112
description: 'Delete a composition',
1213
builder: (yargs) => {
1314
return yargs

lib/interface/cli/commands/composition/describe.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const describeRoot = require('../root/describe.cmd');
88

99
const command = new Command({
1010
command: 'composition <id|name>',
11+
aliases: ['com'],
1112
description: 'Describe a composition',
1213
builder: (yargs) => {
1314
return yargs

lib/interface/cli/commands/composition/get.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const getRoot = require('../root/get.cmd');
99

1010
const command = new Command({
1111
command: 'compositions [id|name]',
12+
aliases: ['com', 'composition'],
1213
description: 'Get compositions',
1314
builder: (yargs) => {
1415
return yargs

lib/interface/cli/commands/composition/replace.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const replaceRoot = require('../root/replace.cmd');
88

99
const command = new Command({
1010
command: 'composition',
11+
aliases: ['com'],
1112
description: 'Replace a composition resource',
1213
builder: (yargs) => {
1314
return yargs;

lib/interface/cli/commands/context/apply.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const applyRoot = require('../root/apply.cmd');
88

99
const command = new Command({
1010
command: 'context',
11+
aliases: ['ctx'],
1112
description: 'Apply changes to a context',
1213
builder: (yargs) => {
1314
return yargs;

lib/interface/cli/commands/context/create.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const createRoot = require('../root/create.cmd');
88

99
const command = new Command({
1010
command: 'context [type] [name]',
11+
aliases: ['ctx'],
1112
description: 'Create a context',
1213
builder: (yargs) => {
1314
return yargs

lib/interface/cli/commands/context/delete.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const deleteRoot = require('../root/delete.cmd');
77

88
const command = new Command({
99
command: 'context [name]',
10+
aliases: ['ctx'],
1011
description: 'Delete a context',
1112
builder: (yargs) => {
1213
return yargs

lib/interface/cli/commands/context/get.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const getRoot = require('../root/get.cmd');
1010

1111
const command = new Command({
1212
command: 'contexts [name]',
13+
aliases: ['ctx', 'context'],
1314
description: 'get-contexts',
1415
builder: (yargs) => {
1516
return yargs

lib/interface/cli/commands/context/replace.cmd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const replaceRoot = require('../root/replace.cmd');
77

88
const command = new Command({
99
command: 'context',
10+
aliases: ['ctx'],
1011
description: 'Replace a context resource',
1112
builder: (yargs) => {
1213
return yargs;

0 commit comments

Comments
 (0)