Skip to content

View single service command #85

@Pseudooo

Description

@Pseudooo

Currently the only way of viewing services is via the htrs ls service command which will only print the name & alias

pseudo@mitch-desktop:~$ htrs ls service
 - my_service (my_alias)

Would like to add a new view command:

htrs view service <name | alias>

Which will show the environments & endpoints for the service in a more readable format:

~$ htrs view service my_service
Name: <name>
[Alias: <alias>]

Environments:
  <environment> [<alias>] ~ <host>

Endpoints:
<endpoint> [<alias>] ~ <path>
   - param1
   - param2

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions