How to use the gluegun.print.success function in gluegun

To help you get started, we’ve selected a few gluegun examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pixeloven / pixeloven / packages / pixeloven / cli / src / toolbox / exit.ts View on Github external
function exit(name: string, status: number, msg: string = "Success!") {
    if (status) {
        print.error(`${name} exited with status ${status}\n`);
        process.exit(status);
    } else {
        print.success(msg);
    }
    return status;
}
github SplitmediaLabsLimited / devctl / src / commands / init.js View on Github external
concurrency: 1,
      }
    );

    await template.generate({
      template: 'devctl.yaml.ejs',
      target: '.devctl.yaml',
      props: {
        values: response,
      },
    });

    print.info(`${print.colors.highlight('.devctl.yaml')} written.`);

    print.success(``);
    print.success(`Your project has been successfully bootstrapped!`);
    print.info(
      `Please add these files in ${print.colors.highlight('.gitignore')}`
    );
    print.info(
      ` - .devctl-current.yaml ${print.colors.muted(
        `(This is your current state)`
      )}`
    );
    print.info(
      ` - .devctl-docker-compose.yaml ${print.colors.muted(
        `(This is your generated docker-compose file)`
      )}`
    );
    print.info(
      ` - .devctl/data ${print.colors.muted(
        `(This is where your databases will save state)`
github tomzaku / react-native-cba-starter-kit / src / cli / cli.js View on Github external
const helpModule = () => {
  print.info('Try to using this')
  print.success('zkrn module create ')
}
const createModule = (nameModule, option) => {