Developing PACK, Simple Problem adding additional actions

howto

#1

Hi,

I am developing my own Pack which I was able to get working, the action is a python script.

I added a 2nd Action by doing the following

–created and added new /action/newfile.py
–created and added new /action/newfile.yaml

–I did a git commit to both files
–did a pack install file:///$PWD
–did a st2ctll reload

Problem: newfile.pyc Does not get created


(Lindsay Hill) #2

Have you actually run your new action?


#3

Thanks for getting back to me. I was just about to edit, I did get this to work.

Before resolution, I was running the pack, but it came up with unknown ID.

I am not sure what I did to resolve the issue. Was my sequence correct?

As this will be a common action, I would like to know the proper sequence of events for adding additional actions.

Thank you