1.0.0-alpha.30 • Published 6 years ago

@orbital/core v1.0.0-alpha.30

Weekly downloads
6
License
-
Repository
-
Last release
6 years ago

Orbital

Orbital is the CLI framework from the future. Using powerful features from TypeScript, like metadata and decorators, there is no limit to what you can create with Orbital.

Features

  • Support for options and parameters (arguments)
  • Command and option aliases
  • Automatic help generation out of the box
  • Git-style subcommands

Example

Here's an example of the simplest CLI you can build with Orbital.

import { CLI, Command, OrbitalFactory } from '@orbital/core';

@Command({
    name: 'hello'
})
export class HelloCommand {
    execute() {
        console.log('Hello, World!');
    }
}

@CLI({
    declarations: [
        HelloCommand
    ]
})
export class HelloCLI { }

OrbitalFactory
    .bootstrap(HelloCLI)
    .execute(process.argv)
1.0.0-alpha.30

6 years ago

1.0.0-alpha.29

6 years ago

1.0.0-alpha.28

6 years ago

1.0.0-alpha.27

6 years ago

1.0.0-alpha.26

7 years ago

1.0.0-alpha.25

7 years ago

1.0.0-alpha.24

7 years ago

1.0.0-alpha.23

7 years ago

1.0.0-alpha.22

7 years ago

1.0.0-alpha.21

7 years ago

1.0.0-alpha.20

7 years ago

1.0.0-alpha.19

7 years ago

1.0.0-alpha.18

7 years ago

1.0.0-alpha.17

7 years ago

1.0.0-alpha.16

7 years ago

1.0.0-alpha.15

7 years ago

1.0.0-alpha.14

7 years ago

1.0.0-alpha.13

7 years ago

1.0.0-alpha.11

7 years ago