Skip to content

Commit

Permalink
Update all the references to the old ahoy repo location.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Carey committed Nov 21, 2016
1 parent 30e3259 commit 5327aa8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -36,7 +36,8 @@ With ahoy, you can turn this into
### OSX
Using Homebrew:
```
brew tap devinci-code/tap
brew tap ahoy-cli/tap
# For v1 - stable release
brew install ahoy
# For v2 which is still alpha (see below)
brew install ahoy --HEAD
Expand All @@ -47,7 +48,7 @@ Download and unzip the latest release and move the appropriate binary for your p

Example:
```
sudo wget -q https://github.com/devinci-code/ahoy/releases/download/1.1.0/ahoy-`uname -s`-amd64 -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/1.1.0/ahoy-`uname -s`-amd64 -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
```

### Bash / Zsh Completion
Expand Down Expand Up @@ -83,7 +84,7 @@ _cli_bash_autocomplete() {
restart your shell, and you should see ahoy autocomplete when typing `ahoy [TAB]`

## USAGE
Almost all the commands are actually specified in a .ahoy.yml file placed in your working tree somewhere. Commands that are added there show up as options in ahoy. Here is what it looks like when using the [example.ahoy.yml file](https://github.com/devinci-code/ahoy/blob/master/examples/examples.ahoy.yml). To start with this file locally you can run `ahoy init`.
Almost all the commands are actually specified in a .ahoy.yml file placed in your working tree somewhere. Commands that are added there show up as options in ahoy. Here is what it looks like when using the [example.ahoy.yml file](https://github.com/ahoy-cli/ahoy/blob/master/examples/examples.ahoy.yml). To start with this file locally you can run `ahoy init`.

```
$ ahoy
Expand Down
8 changes: 3 additions & 5 deletions ahoy.go
Expand Up @@ -22,6 +22,7 @@ type Config struct {
AhoyAPI string
Commands map[string]Command
}

// Command is an ahoy command detailed in ahoy.yml files. Multiple
// commands can be defined per ahoy.yml file.
type Command struct {
Expand Down Expand Up @@ -211,7 +212,7 @@ func addDefaultCommands(commands []cli.Command) []cli.Command {
Action: func(c *cli.Context) {
// Grab the URL or use a default for the initial ahoy file.
// Allows users to define their own files to call to init.
var wgetURL = "https://raw.githubusercontent.com/devinci-code/ahoy/master/examples/examples.ahoy.yml"
var wgetURL = "https://raw.githubusercontent.com/ahoy-cli/ahoy/master/examples/examples.ahoy.yml"
if len(c.Args()) > 0 {
wgetURL = c.Args()[0]
}
Expand Down Expand Up @@ -302,10 +303,7 @@ VERSION:
return app
}




func main() {
app = setupApp(os.Args[1:])
app = setupApp(os.Args[1:])
app.Run(os.Args)
}
8 changes: 4 additions & 4 deletions docs/index.md
Expand Up @@ -38,7 +38,7 @@ With ahoy, you can turn this into
### OSX
Using Homebrew:
```
brew tap devinci-code/tap
brew tap ahoy-cli/tap
brew install ahoy
# For v2 which is still alpha (see below)
brew install ahoy --HEAD
Expand All @@ -49,7 +49,7 @@ Download and unzip the latest release and move the appropriate binary for your p

Example:
```
sudo wget -q https://github.com/devinci-code/ahoy/releases/download/1.1.0/ahoy-`uname -s`-amd64 -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/1.1.0/ahoy-`uname -s`-amd64 -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
```

### Bash / Zsh Completion
Expand Down Expand Up @@ -85,7 +85,7 @@ _cli_bash_autocomplete() {
restart your shell, and you should see ahoy autocomplete when typing `ahoy [TAB]`

## USAGE
Almost all the commands are actually specified in a .ahoy.yml file placed in your working tree somewhere. Commands that are added there show up as options in ahoy. Here is what it looks like when using the [example.ahoy.yml file](https://github.com/devinci-code/ahoy/blob/master/examples/examples.ahoy.yml). To start with this file locally you can run `ahoy init`.
Almost all the commands are actually specified in a .ahoy.yml file placed in your working tree somewhere. Commands that are added there show up as options in ahoy. Here is what it looks like when using the [example.ahoy.yml file](https://github.com/ahoy-cli/ahoy/blob/master/examples/examples.ahoy.yml). To start with this file locally you can run `ahoy init`.

```
$ ahoy
Expand Down Expand Up @@ -149,4 +149,4 @@ commands:
- Provide "drivers" or "plugins" for bash, docker-compose, kubernetes (these systems still work now, this would just make it easier)
- Do specific arg replacement like {{arg1}} and enable specifying specific arguments and flags in the ahoy file itself to cut down on parsing arguments in scripts.
- Support for more built-in commands or a "verify" yaml option that would create a yes / no prompt for potentially destructive commands. (Are you sure you want to delete all your containers?)
- Pipe tab completion to another command (allows you to get tab completion)
- Pipe tab completion to another command (allows you to get tab completion)

0 comments on commit 5327aa8

Please sign in to comment.