Skip to content

Commit 874069c

Browse files
fix: remove private parameter, use access (BREAKING CHANGES)
1 parent 6f6f9d0 commit 874069c

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

bin/documentation.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import yargs from 'yargs';
66
import { hideBin } from 'yargs/helpers';
77
import commands from '../src/commands/index.js';
88

9-
const argv = yargs(hideBin(process.argv))
9+
yargs(hideBin(process.argv))
1010
.strict()
1111
.command(commands.serve)
1212
.command(commands.build)
@@ -42,10 +42,3 @@ const argv = yargs(hideBin(process.argv))
4242
)
4343
.recommendCommands()
4444
.help().argv;
45-
46-
if (argv.private) {
47-
console.error(
48-
'--private is deprecated, please use the --access (or -a) option instead'
49-
);
50-
console.error('for example: -a public -a private -a protected -a undefined');
51-
}

src/commands/shared_options.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ export const sharedInputOptions = {
4545
type: 'array',
4646
alias: 'pe'
4747
},
48-
private: {
49-
describe: 'generate documentation tagged as private',
50-
type: 'boolean',
51-
default: false,
52-
alias: 'p'
53-
},
5448
access: {
5549
describe:
5650
'Include only comments with a given access level, out of private, ' +

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy