Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre alpha mrsetup #17

Merged
merged 3 commits into from
Nov 25, 2022
Merged

Pre alpha mrsetup #17

merged 3 commits into from
Nov 25, 2022

Conversation

miha42-github
Copy link
Contributor

Introduction

This is a largish feature for the CLI focused on initial setup for the CLI and backend. Now mr_setup will run and perform the following steps:

  1. Prompt the user to pick a backend server
  2. With the backend server selected, start the add company wizard
  3. Use the method for creating a consistent bucket name to create a new bucked for the added company
  4. Create a default study
  5. Write the configuration file to the ~/.mediumroast/config.ini file
  6. GET and list created company and study objects

Additional improvements

The cli.js file was broken up into smaller function specific files to enable better maintenance of the code.

@miha42-github miha42-github self-assigned this Nov 25, 2022
@miha42-github miha42-github merged commit 11d330a into pre_alpha Nov 25, 2022
@miha42-github miha42-github deleted the pre_alpha_mrsetup branch November 25, 2022 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI: From mr_setup include the company wizard to enable the user to add an initial company
1 participant