Skip to content

feature request: allow --appname to change appname before anything else #102

Open

Description

@kapouer

This would be only allowed through cli arg, as it would not make sense in any config file.
However, changing the appname requires parsing cli args before calling rc,
at which point rc parses cli args...

Activity

  1. cspotcode commented on Dec 16, 2018

    @cspotcode

    rc performs default argv parsing like this:

    require('minimist')(process.argv.slice(2))
    

    So you can pretty easily do this manually yourself, then check for an appname property and pass it into rc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions