Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Commit

Permalink
renamed projet to mortadelo
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanfoo committed Jun 22, 2016
1 parent 55dda1f commit 3cb9cfb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Ignore compiled file
joe
#Compiled file
mortadelo

#Ignore any .ini file
#.ini files
*.ini

#tgz files
*.tgz
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Joe CLI tool
# Mortadelo CLI tool

### THIS TOOL IS UNDER HEAVY DEVELOPMENT ###

**What for?**
Joe makes assming AWS roles pretty simple, asking for AWS temporal credentials and dumping them to ~/.aws/credentials

Mortadelo makes assming AWS roles pretty simple, asking for AWS temporal credentials and dumping them to ~/.aws/credentials

**How to use it**
You can use explicit arn roles or use a __role alias__ configured in ~/.joe/roles

You can use explicit arn roles or use a _role alias_ configured in ~/.mortadelo/roles
2 changes: 1 addition & 1 deletion commands/assume.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var (
awsCredentialsFile = fmt.Sprintf("%s/%s/%s", os.Getenv("HOME"), ".aws", "credentials")
rolesFile = fmt.Sprintf("%s/%s/%s", os.Getenv("HOME"), ".joe", "roles")
rolesFile = fmt.Sprintf("%s/%s/%s", os.Getenv("HOME"), ".mortadelo", "roles")
)

type CmdAssume struct {
Expand Down
4 changes: 2 additions & 2 deletions joe.go → mortadelo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package main
import (
"log"

"github.com/ivanfoo/joe/commands"
"github.com/ivanfoo/mortadelo/commands"

"github.com/jessevdk/go-flags"
)

func main() {
parser := flags.NewNamedParser("joe", flags.Default)
parser := flags.NewNamedParser("mortadelo", flags.Default)
parser.AddCommand("assume", "assume role", "", &commands.CmdAssume{})
parser.AddCommand("clean", "clean generated files", "", &commands.CmdClean{})

Expand Down

0 comments on commit 3cb9cfb

Please sign in to comment.