Skip to content
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

all things are possible #244

Closed
StartAutomating opened this issue Oct 7, 2022 · 0 comments · Fixed by #245
Closed

all things are possible #244

StartAutomating opened this issue Oct 7, 2022 · 0 comments · Fixed by #245
Assignees
Labels
enhancement New feature or request Post Issues that should become posts

Comments

@StartAutomating
Copy link
Owner

StartAutomating commented Oct 7, 2022

The title of this post may be cheeky. It would also be valid syntax.

It would translate to:

  • Find all variables, functions, aliases, and cmdlets
  • Iterate over each of them, interesting the PSTypeName 'possible'

The all keyword is a new keyword introduced in PipeScript 0.1.6.

all is an iterator over everything.

all can be followed by a number of modifiers or an input variable.

Here's a table of some simple ways to use all

Example Description
all functions outputs all functions
all aliases outputs all aliases
all cmdlets outputs all cmdlets
all applications outputs all applications
all commands outputs all commands
all variables outputs all variables
all things outputs all variables, functions, cmdlets, aliases
all $numbers outputs everything in numbers
@StartAutomating StartAutomating added the enhancement New feature or request label Oct 7, 2022
@StartAutomating StartAutomating self-assigned this Oct 7, 2022
StartAutomating pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
github-actions bot pushed a commit that referenced this issue Oct 8, 2022
@StartAutomating StartAutomating added the Post Issues that should become posts label Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Post Issues that should become posts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant