Skip to content

Add Print Task #856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #1247
fjtirado opened this issue May 23, 2024 · 1 comment
Closed
Tracked by #1247

Add Print Task #856

fjtirado opened this issue May 23, 2024 · 1 comment
Assignees
Labels
area: spec Changes in the Specification change: feature New feature or request. Impacts in a minor version change
Milestone

Comments

@fjtirado
Copy link
Collaborator

fjtirado commented May 23, 2024

What would you like to be added:
A print task to be able to print message to the standard output

Using literal

do: 
   debug: Hello world!

Using expression (typically jq interpolation, since we should NOT support interpolation by ouselves)

do: 
   debug:  ${Hello \(.input.name)!}

Its up to every implementation decide how debug should be disabled (there is the possibility of adding the option of enable/disable at the header of the definition file, but I think this should be dynamic and enforcing that is kind of static)

Why is this needed:
It might be useful for debugging. Users are using custom sysout extensively, so I guess it will be good to include in the spec some way to print messages to console

@fjtirado fjtirado changed the title Add print tasks Add Print Task May 23, 2024
@fjtirado fjtirado mentioned this issue May 27, 2024
9 tasks
@ricardozanini ricardozanini added area: spec Changes in the Specification labels May 28, 2024
@ricardozanini ricardozanini modified the milestone: v1.0.0-alpha1 May 28, 2024
@ricardozanini ricardozanini added the change: feature New feature or request. Impacts in a minor version change label May 28, 2024
@cdavernas
Copy link
Member

@fjtirado Should we leave this issue opened, as we closed #859 ?

@github-project-automation github-project-automation bot moved this from Backlog to Done in Progress Tracker Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: spec Changes in the Specification change: feature New feature or request. Impacts in a minor version change
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants