How to use the epilogue function from yargs

Find comprehensive JavaScript yargs.epilogue code examples handpicked from public code repositorys.

81
82
83
84
85
86
87
88
89
90
yargs.positional("resource", {
  describe: "The resource to get information about",
  choices: Object.values(ResourceEnum),
});
yargs.version(false).wrap(150).help();
yargs.epilogue(`Custom help text for 'get <resource>' command.

Examples:
  - get organization            : options: --id 
  - get organizations           : (all organization for your user will be returned)
fork icon4
star icon10
watch icon0

Other functions in yargs

Sorted by popularity

function icon

yargs.argv is the most popular function in yargs (1012 examples)