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

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

Open
jvandellen opened this issue Feb 11, 2020 · 0 comments
Open

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

jvandellen opened this issue Feb 11, 2020 · 0 comments
Assignees

Comments

@jvandellen
Copy link
Contributor

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]))
}

@jvandellen jvandellen added the enhancement New feature or request label Feb 11, 2020
@jvandellen jvandellen self-assigned this Feb 11, 2020
@sgsullivan sgsullivan added the good first issue Good for newcomers label Feb 13, 2020
@sgsullivan sgsullivan removed the enhancement New feature or request label Feb 27, 2020
@sgsullivan sgsullivan removed the good first issue Good for newcomers label Dec 31, 2020
jvandellen pushed a commit that referenced this issue Jan 15, 2021
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

No branches or pull requests

2 participants