liquidweb / liquidweb/liquidweb-cli

Use filepath.Base(os.Args[0]) to get cleaner output

Open
#18 0 comments 0 reactions 1 assignee View on GitHub

@jvandellen is already working on this.

Since Feb 11, 2020.

Dominant language
Go
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

thinking maybe would be more useful if you changed the output of the create `Check status with 'cloud server status --uniq_id 2HUSP1' to Check status with 'liquidweb-cli cloud server status --uniq_id 2HUSP1' `so you can just copy paste assuming the cli is in your path. or like remove the '' from the output to get a cleaner oneliner you can just copy

> ssullivan 1:03 PM
> or make it print filepath.Base(os.Args[0]) perhaps in place (edited)
>
> ssullivan 1:04 PM
> package main
> import (
> "fmt"
> "os"
> "path/filepath"
> )
> func main() {
> fmt.Println(filepath.Base(os.Args[0]))
> }

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.