Skip to content

Commit

Permalink
run action
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadiii committed Feb 22, 2024
1 parent 4aaa6cb commit d08b138
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cliCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Cli {

async Resource(
resource: string,
method: string,
method?: string,
flags?: string
): Promise<string> {
try {
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ export async function run(): Promise<void> {
}

const cli = new Cli()
/* const result = await cli.Resource(
const commandResponse = await cli.Resource(
core.getInput('resource'),
core.getInput('method'),
core.getInput('flags')
) */
)

const commandResponse = await cli.Resource(
/* const commandResponse = await cli.Resource(
'configuration',
'create',
'-n,config-name,-i,ciAction,-s,csAction,-a,aAction,-e,eAction'
)
) */
console.log(commandResponse)
core.setOutput('COMMAND_RESPONSE', commandResponse)
} catch (err) {}
Expand Down

0 comments on commit d08b138

Please sign in to comment.