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

[A0CLI-6] Add action create #24

Merged
merged 2 commits into from
Jan 25, 2021
Merged

Conversation

iamjem
Copy link
Contributor

@iamjem iamjem commented Jan 25, 2021

Description

This adds support for creating a new action.

$./auth0 actions create "Test 2"                                                     
Creating action... done
=== iamjem action created          
                                             
  ID                                    NAME    TYPE        CREATED AT    
  288e68e7-0348-47f7-a8b7-1277f889abf7  Test 2  post-login  a minute ago  

@iamjem iamjem force-pushed the jw-A0CLI-6-create-post-login-actions branch from 180e858 to 3fe0b13 Compare January 25, 2021 20:47
}
}

return fmt.Errorf("%s is not a valid trigger type (%s)", trigger, strings.Join(allTriggerIDs, ", "))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

Copy link
Contributor

@cyx cyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cyx cyx merged commit adc76a9 into main Jan 25, 2021
@cyx cyx deleted the jw-A0CLI-6-create-post-login-actions branch January 25, 2021 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants