Skip to content

Commit

Permalink
Rename cli to ramoa
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampos committed Jul 25, 2024
1 parent 1c1a7fe commit 77bc930
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.com"

# Sanity check to ensure that the package is published and runnable
- run: npx rmoa --help
- run: npx ramoa --help
13 changes: 7 additions & 6 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ should.
## Installation

```bash
npm install -g rmoa
npm install -g ramoa
```

## Usage
Expand All @@ -27,16 +27,16 @@ need to create your api key on the
To start using the CLI, run:

```bash
rmoa --help
ramoa --help
```

### Commands

```
rmoa <command>
ramoa <command>
Commands:
rmoa lint
ramoa lint
Lint & get a score for your OpenAPI definition using the Rate My OpenAPI ruleset
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rmoa",
"name": "ramoa",
"version": "0.0.0",
"type": "module",
"description": "The command-line interface for Rate My Open API",
Expand All @@ -21,7 +21,7 @@
"node": ">=20.0.0"
},
"bin": {
"rmoa": "cli.js"
"ramoa": "cli.js"
},
"devDependencies": {
"@types/mime-types": "^2.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ try {
);
} catch (e) {
await printCriticalFailureToConsoleAndExit(
`Unable to load rmoa. The package.json is missing or malformed.`,
`Unable to load ramoa. The package.json is missing or malformed.`,
);
}

Expand Down

0 comments on commit 77bc930

Please sign in to comment.