Categorygithub.com/autopp/fcfc
modulepackage
0.4.0
Repository: https://github.com/autopp/fcfc.git
Documentation: pkg.go.dev

# README

fcfc: Factory of CF CLI

fcfc is alias factory for cf.

Install

Download binary from releases page and place it in $PATH.

Usage

Write settings YAML and place into ~/.fcfc.yml.

E.g.

commands:
  - name: devcf
    api: api.run.pivotal.io
    org: myorg
    space: myspace
    login-options: "-u [email protected]"
  - name: othercf
    api: pcf.example.com
    org: otherorg
    space: otherspace
    login-options: "-u autopp"

And evaluate output of fcfc in .bashrc/.zshrc.

eval "$(fcfc)"

If you use fish, you should set -s fish and evaluate in config.fish.

eval (fcfc -s fish | source)

You can also place settings into other path. If you do, please pass it as a parameter.

eval "$(fcfc /path/to/.fcfc.yml)"

Now, you can use login-devcf/login-othercf to login your target and devcf/othercf to execute command in specified target.

$ login-devcf
$ devcf push

License

Apache License 2.0

Author

@AuToPP

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author