Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hcl-tech-software/voltscript-console-colors
Constants for manipulating colours on Terminal etc from VoltScript
https://github.com/hcl-tech-software/voltscript-console-colors
volt-mx-go voltscript
Last synced: 10 days ago
JSON representation
Constants for manipulating colours on Terminal etc from VoltScript
- Host: GitHub
- URL: https://github.com/hcl-tech-software/voltscript-console-colors
- Owner: HCL-TECH-SOFTWARE
- License: apache-2.0
- Created: 2023-09-19T12:28:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T09:35:39.000Z (about 1 year ago)
- Last Synced: 2024-12-20T12:15:46.601Z (17 days ago)
- Topics: volt-mx-go, voltscript
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# voltscript-console-colors
Constants for manipulating colours on Terminal etc. For further details, see https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#text-formatting. The format is ESC character (ASCII character 27) + "[" + number + "m".This requires support for colorizing text in the relevant console being used. Not all terminal programs support this. Where unsupported, the character sequence for the formatting will be outputted instead. Obviously, changing color is unsupported when writing to log files.
Some terminals (e.g. Visual Studio Code) will enforce foreground color based on background, presumably to prevent accessibility violations.
## Using dependency management
Dependency management is available in the documentation for each project, but also aggregated here:
### Authentication
You'll need a [Personal Access Token](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.md#github-personal-access-token) to use GitHub REST APIs. You'll then need to add this to the JSON object in your [atlas-settings.json](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.md#atlas-settingsjson), in the .vss directory of your user home directory:
```json
"hcl-github": {
"type": "github",
"token": "${env.TOKEN}"
}
```### Repository
You'll need to add to your **repositories** object in the atlas.json of your project:
```json
{
"id": "hcl-github",
"type": "github",
"url": "https://api.github.com/repos/HCL-TECH-SOFTWARE"
}
```### Dependency
You'll need the relevant dependency to add to your **dependencies** or **testDependencies** object in the atlas.json of your project:
```json
{
"library": "voltscript-console-colors",
"version": "1.0.1",
"module": "VoltScriptConsoleColors.vss",
"repository": "hcl-github"
}
```## Contributing
See [CONTRIBUTING.md](contributing.md).
## Code of Conduct
See [CODE_OF_CONDUCT.md](code_of_conduct.md).
## Issues and discussions
Let's chat on [OpenNTF Discord](https://openntf.org/discord).
For long-running discussions, use Discussions area in GitHub. For bugs and feature requests **specific to VoltScript Testing Framework** use, Issues area.