Skip to content

Improve CLI display and fix typos #46

@sirateek

Description

@sirateek

There are many incorrect typos in the CLI. Also, The CLI still doesn't look user-friendly since it display many thing in just a single line

Improvemant would be great :)

Example:

❯ ta init --workid 1234
/Users/sirateek/ProjectRepository/Python/TestDir makeing work directory
Successfully created the directory /Users/sirateek/ProjectRepository/Python/TestDir/ta
confix.json has been create
401
{'statusCode': 401, 'message': 'The API Key in your request is invalid, Access Denied.'}
Something is missing please try again.
draft.json: False
config.json: True
ta directory: True

To:

❯ ta init --workid 1234
[*] Creating the directory
 |-[x] Creating workDirectory `/Users/sirateek/ProjectRepository/Python/TestDir/ta`
 |   |-[*] Skipped. Already exists
 |-[/] Creating `config.json`
[x] Fetching workDraft from TA-API

API Request failed due to the following error:
* statusCode: 401
* message: The API Key in your request is invalid, Access Denied.
* requestId: 1623991347594-abc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions