20 lines
379 B
TypeScript
20 lines
379 B
TypeScript
import {Command} from '@oclif/core'
|
|
|
|
export default class World extends Command {
|
|
static args = {}
|
|
|
|
static description = 'Say hello world'
|
|
|
|
static examples = [
|
|
`<%= config.bin %> <%= command.id %>
|
|
hello world! (./src/commands/hello/world.ts)
|
|
`,
|
|
]
|
|
|
|
static flags = {}
|
|
|
|
async run(): Promise<void> {
|
|
this.log('hello world! (./src/commands/hello/world.ts)')
|
|
}
|
|
}
|