Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename cli to ramoa #258

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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