Compare commits

..

2 commits

Author SHA1 Message Date
e6594068c4
Merge
Some checks failed
Release / Release (push) Failing after 30s
2025-06-19 17:20:53 +02:00
de3f5e697c
fix: fix init script 2025-06-19 17:20:25 +02:00
4 changed files with 10 additions and 30 deletions

View file

@ -1,14 +1,3 @@
## [0.4.0](https://git.kjan.de/jank/project-cli/compare/v0.3.3...v0.4.0) (2025-06-19)
### Features
* Add folder execution ([703db75](https://git.kjan.de/jank/project-cli/commit/703db757bc11edd233dca293528b0fad85365d5f))
* add version argument ([618e00b](https://git.kjan.de/jank/project-cli/commit/618e00b677b21dbb8a143a2cd8c189e3aa672c89))
### Chores
* Clean up imports ([50ecd8c](https://git.kjan.de/jank/project-cli/commit/50ecd8ce863e5996e47abb4fbad5f35e324ccc34))
## [0.3.3](https://git.kjan.de/jank/project-cli/compare/v0.3.2...v0.3.3) (2025-06-19)
### Bug Fixes

View file

@ -106,22 +106,13 @@ program
program.command("init").action(() => {
console.log(`${CLI_NAME}() {
local output
output=$(command ${CLI_NAME} "$@")
local exit_code=$?
if [ $exit_code -eq 0 ]; then
echo "$output" | while IFS= read -r line; do
if [[ $line == __EXEC__* ]]; then
eval "\${line#__EXEC__}"
else
echo "$line"
fi
done
else
echo "$output" >&2
return $exit_code
fi
command ${CLI_NAME} "$@" | while IFS= read -r line; do
if [[ $line == __EXEC__* ]]; then
eval "\${line#__EXEC__}"
else
echo "$line"
fi
done
}`);
});

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "proj-cli",
"version": "0.4.0",
"version": "0.3.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "proj-cli",
"version": "0.4.0",
"version": "0.3.3",
"dependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3",

View file

@ -1,6 +1,6 @@
{
"name": "proj-cli",
"version": "0.4.0",
"version": "0.3.3",
"module": "index.ts",
"type": "module",
"bin": {