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

feat: Create plugin for Railway CLI #481

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aryanprince
Copy link

@aryanprince aryanprince commented Aug 20, 2024

Overview

Created a 1Password CLI Shell Plugin for the Railway CLI.

See GIF below for a quick demo:
op-railway

Type of change

  • Created a new plugin
  • Improved an existing plugin
  • Fixed a bug in an existing plugin
  • Improved contributor utilities or experience

Related Issue(s)

How To Test

  1. Create a Railway account from here.
  2. Create an account-level API token from here. Keep this token handy for later.
  3. Install the Railway CLI using official instructions here or with Homebrew using:
brew install railway
  1. Running railway whoami will now display an error cus you're not logged in to the CLI.
  2. Setup this new Railway 1Password Shell Plugin locally or using the following commands from inside this repo:
make railway/build
op plugin init railway
  1. Running op plugin run -- railway whoami should now correctly authenticate you to the Railway CLI.

Changelog

Authenticate the Railway CLI using Touch ID and other unlock options with 1Password Shell Plugins.

@aryanprince aryanprince mentioned this pull request Aug 20, 2024
1 task
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

Successfully merging this pull request may close these issues.

New plugin: Railway
1 participant