diff --git a/README.md b/README.md index 30eac38d..b98d6276 100644 --- a/README.md +++ b/README.md @@ -105,9 +105,7 @@ mgo portfolio transactions create US0378331005 --portfolio-name bank/myportfolio When successful, this should print something like the following. -``` -Successfully created a buy transaction (1c12ac28dfbc5440) for security US09075V1026 in bank/myportfolio. -``` +Output of transactions create command The unique identifier (also called 'name') of the transaction can be used in other calls, e.g., to modify it. @@ -118,6 +116,7 @@ For a detailed list of all available commands see `mgo --help`. The CLI also supports (basic) shell completion. For details how to activate it, please see `mgo completion`. + # When is it finished? Since I am working on this in my spare time, it will probably take a while 😃. diff --git a/cli/commands/portfolio.go b/cli/commands/portfolio.go index 1e799fca..5cf063a1 100644 --- a/cli/commands/portfolio.go +++ b/cli/commands/portfolio.go @@ -192,9 +192,9 @@ func (cmd *CreateTransactionCmd) Run(s *cli.Session) error { fmt.Printf("Successfully created a %s transaction (%s) for security %s in %s.\n", color.CyanString(cmd.Type), - color.BlackString(res.Msg.Name), - color.BlueString(res.Msg.SecurityName), - color.BlueString(res.Msg.PortfolioName), + color.GreenString(res.Msg.Name), + color.CyanString(res.Msg.SecurityName), + color.CyanString(res.Msg.PortfolioName), ) return nil