-
Notifications
You must be signed in to change notification settings - Fork 0
Command: Init
Robert MacLean edited this page May 19, 2020
·
2 revisions
Init helps setup the environment; if you are familiar with tools like git, init is inspired by their init command. With Init you can create either a secret.json or a score.json file.
twot Init [score | secrets] [--file <filename>]
or
twot init [score | secrets] [--file <filename>]
or
twot i [score | secrets] [--file <filename>]
-
score: This specifies you want to create ascore.jsonfile for use with the Score and Clean commands. It is mutually exclusive with thesecretsoption. -
secrets: This specifies you want to create asecrets.jsonfile, to configure Twot to use your account. It is mutually exclusive with thescoreoption. -
--file <filename>: This allows you to specify where thescoreorsecretsoption will output to, rather than using their default options.
Create a score.json file:
twot init score
Create a secrets.json file:
twot i secrets
Create a secrets.json file but save to secrets-setup.json:
twot i secrets --file secrets-setup.json