shellvar

Utility to work with shell variables.

GPL-3.0 License

Downloads
2.9K
Stars
2

Bot releases are visible (Hide)

shellvar - 1.0.0 Latest Release

Published by github-actions[bot] 6 months ago

What's new since 0.7.0

  • Fully re-written the extraction engine to handle more interpolation cases. @AlexSkrypnyk (#71)
  • Added better handling of the multi-line string values. @AlexSkrypnyk (#71)
  • Hide lint output if there are no violations found. @AlexSkrypnyk (#70)
  • Fixed variable validation for double quotes enclosed into single quotes. @AlexSkrypnyk (#69)
  • Bumped PHP version requirements to 8.2. @AlexSkrypnyk (#68)
  • Added handling of more complex variable substitutions. @AlexSkrypnyk (#67)
  • Update softprops/action-gh-release action to v2 @renovate (#64)

Full Changelog: https://github.com/AlexSkrypnyk/shellvar/compare/0.7.0...1.0.0

@AlexSkrypnyk, @renovate and @renovate[bot]

shellvar - 0.7.0

Published by github-actions[bot] 8 months ago

What's new since 0.6.1

  • Added support for linting a directory. @AlexSkrypnyk (#60)
  • Added filtering by extensions. @AlexSkrypnyk (#62)

Full Changelog: https://github.com/AlexSkrypnyk/shellvar/compare/0.6.1...0.7.0

@AlexSkrypnyk

shellvar - 0.6.1

Published by github-actions[bot] 8 months ago

What's new since 0.6.0

  • Fixed exit code on lint violations. @AlexSkrypnyk (#58)
  • Fixed coding standards. @AlexSkrypnyk (#59)

Full Changelog: https://github.com/AlexSkrypnyk/shellvar/compare/0.6.0...0.6.1

@AlexSkrypnyk

shellvar - 0.6.0

Published by github-actions[bot] 8 months ago

What's new since 0.5.0

  • Added lint command from https://github.com/AlexSkrypnyk/shell-var-lint @tannguyen04 (#41) (#52)
  • [#3] Added Dockerfile to allow running as a container @tannguyen04 (#48)
  • Optimised Docker image and renamed the binary to 'shellvar'. @AlexSkrypnyk (#57)
  • [#42] Updated Readme include lint command. @tannguyen04 (#52)
  • Fixed coding standards. @AlexSkrypnyk (#53)
  • Update release-drafter/release-drafter action to v6 @renovate (#51)
  • Update codecov/codecov-action action to v4 @renovate (#49)
  • Update actions/cache action to v4 @renovate (#46)
  • Update dependency alexskrypnyk/csvtable to ^0.3.0 @renovate (#45)
  • Update toshimaru/auto-author-assign action to v2.1.0 @renovate (#47)
  • [#43] Update repo structure to https://github.com/AlexSkrypnyk/scaffold 0.12.0 @tannguyen04 (#44) @AlexSkrypnyk (#56)

Full Changelog: https://github.com/AlexSkrypnyk/shellvar/compare/0.5.0...0.6.0

@AlexSkrypnyk, @renovate, @renovate[bot] and @tannguyen04

shellvar - New name and moved to 'extract' command

Published by github-actions[bot] 9 months ago

What's new since 0.4.0

  • Added PHP test matrix to CI and replaced PHP runner for release. @AlexSkrypnyk (#39)
  • ❗ BC: Refactored to use extract command. @AlexSkrypnyk (#38)
  • Updated references to shellvar. @AlexSkrypnyk (#36)
  • ❗ BC: [#34] Rename project to shellvar @tannguyen04 (#35)
  • [#26] Update tests to use CommandTestCase and update coverage @tannguyen04 (#32)
  • Update dependency alexskrypnyk/csvtable to ^0.2.0 @tannguyen04 (#31)
  • Update dependency symfony/console to v7 @renovate (#27)
  • [#28] Update repo configs from https://getscaffold.dev/ @tannguyen04 (#30)
  • Updated repo structure to follow scaffold. @AlexSkrypnyk (#23)
  • Updated codebase to be inline with the scaffold repo and fixed coding standards. @lankmiler (#19)

Full Changelog: https://github.com/AlexSkrypnyk/shellvar/compare/0.4.0...0.5.0

@AlexSkrypnyk, @lankmiler, @renovate, @renovate[bot] and @tannguyen04

shellvar - 0.4.0

Published by github-actions[bot] over 1 year ago

What's new since 0.3.0

Features

  • Refactored to support passing configs between all parts of the app.
  • Added default template for Markdown blocks.
  • Added --fields option to select fields.
  • Added --skip-text option with deafult value @skip to skip variables extractions whose comment have this string.
  • Added support for extracted file path formatting. --path-strip-prefix allows to strip path prefix when formatting the output.
  • Added support to wrap numbers with inline code by default. Use --md-no-inline-code-wrap-numbers to disable.
  • Added a --skip-description-prefix=PREFIX flag to skip description lines with prefixes. This allows to exclude certain comment lines from becoming descriptions of variables.
  • Flipped inline code variables processing in Markdown to be enabled by default. --md-inline-code-wrap-vars -> --md-no-inline-code-wrap-vars.

Fixes

  • Fixed discovery of the dotfiles.
  • Fixed extracting a value set to the own name: VAR1="${VAR1:-}" now correctly extracted as UNSET instead of VAR1.
  • Fixed extracting interpolated arguments taken literally: VAR1="${VAR1:-$1}" now correctly extracted as UNSET instead of 1.
  • Changes default value <UNSET> to UNSET to avoid confusion between literal use of the value with an example use.
  • Fixed links and tokens processing in descriptions.
  • Fixed description processing and added support for lists.

Chores

  • Renamed exclude-file to exclude-from-file.
  • Added composer build command to build a phar.
  • Update README.md

Full Changelog: https://github.com/AlexSkrypnyk/shell-variables-extractor/compare/0.3.0...0.4.0
@AlexSkrypnyk

shellvar - Initial minor release.

Published by AlexSkrypnyk over 1 year ago

Package Rankings
Top 42.08% on Packagist.org
Badges
Extracted from project README
GitHub Issues GitHub Pull Requests Test PHP codecov Docker Pulls