-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: create guides aliases * test: alias tests * docs: make OAS category name more generic * docs: rename docs header * chore: rearrange categories * docs: update headings, add alias docs
- Loading branch information
1 parent
7552501
commit d412a04
Showing
9 changed files
with
109 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { CommandOptions } from '../../lib/baseCommand'; | ||
import type { Options } from '../docs'; | ||
|
||
import DocsCommand from '../docs'; | ||
|
||
export default class GuidesCommand extends DocsCommand { | ||
constructor() { | ||
super(); | ||
|
||
this.command = 'guides'; | ||
this.usage = 'guides <path> [options]'; | ||
this.description = 'Alias for `rdme docs`.'; | ||
this.position = 3; | ||
} | ||
|
||
async run(opts: CommandOptions<Options>) { | ||
return super.run(opts); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { CommandOptions } from '../../lib/baseCommand'; | ||
import type { Options } from '../docs/prune'; | ||
|
||
import DocsPruneCommand from '../docs/prune'; | ||
|
||
export default class GuidesPruneCommand extends DocsPruneCommand { | ||
constructor() { | ||
super(); | ||
|
||
this.command = 'guides:prune'; | ||
this.usage = 'guides:prune <folder> [options]'; | ||
this.description = 'Alias for `rdme docs:prune`.'; | ||
this.position = 4; | ||
} | ||
|
||
async run(opts: CommandOptions<Options>) { | ||
return super.run(opts); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters