Skip to content

Provide a CLI tool for devops #17

@balupton

Description

@balupton

Would be nice if there was a cli tool for this, so I could easily swap things out like:

env GOOGLE_OAUTH="$(cat ./.env/google-oauth.json | jq -c . | base64)" GOOGLE_SERVICE="$(cat ./.env/google-service.json | jq -c . | base64)" ts-node ./api/google.ts
now secret rm google-service && now secret add google-service "$(cat ./.env/google-service.json | jq -c . | base64)"

to

env GOOGLE_OAUTH="$(cat ./.env/google-oauth.json | jq -c . | base85 -e z85)" GOOGLE_SERVICE="$(cat ./.env/google-service.json | jq -c . | base85 -e z85)" ts-node ./api/google.ts
now secret rm google-service && now secret add google-service "$(cat ./.env/google-service.json | jq -c . | base85 -e z85)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions