Comments (3)
It looks like there may be some standards around CI runners having an environment variable automatically present. You can see an example of someone guarding against them here: https://github.com/watson/ci-info/blob/master/index.js#L52
- Gitlab-CI uses
CI
: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html - Github Actions also uses
CI
: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables - Jenkins uses
BUILD_NUMBER
, which is kind of an indication: https://wiki.jenkins.io/display/JENKINS/Building+a+software+project#:~:text=Jenkins%20Set%20Environment%20Variables%20%20%20%20Environment,build%20i%20...%20%2011%20more%20rows ...but also I don't love jenkins and a jenkins user could always add the CI environment variable themselves.
In the presence of this environment variable(s) I could avoid interactive input.
Still interested in what other good command line utilities do though. I would imagine in a large script you don't want it normally asking for input. I could do something like git where you don't get interactive mode unless you pass -i
.
from changes.
Should also not go interactive if not an interactive terminal
from changes.
https://clig.dev/#interactivity
from changes.
Related Issues (20)
- Use swiftenv for macOS github workflow
- Build changelog with Stencil HOT 2
- Name changes files by id and add id field HOT 1
- Build README with stencil HOT 1
- Add ability to query Changs by id HOT 1
- Automate linux docker image names
- Should this library allow tracing?
- All printing should to go stderr
- Polish help commands
- Display query output in human readable format
- Put queries under `query` subcommand HOT 1
- Output on success for non-query commands
- Review possible files errors and provide helpful output for common errors HOT 1
- Relocate config file?
- Upgrade to Swift 5.5 & Async/Await HOT 1
- Add apiVersion to changes config and changes files
- How do we handle multiple release builds and versions in the same repo? HOT 2
- Should releases be a part of this project? HOT 2
- Create some way to add files with changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from changes.