test/test_files/prefstest.yaml in cliutils-1.4.2 vs test/test_files/prefstest.yaml in cliutils-2.0.0
- old
+ new
@@ -1,14 +1,34 @@
prompts:
- prompt_text: What is the top story on espn.com?
config_key: top_story
config_section: app_data
- # pre:
- # message: 'I will now open espn.com in your default browser.'
- # action: open_url
- # action_parameters:
- # - url: http://www.espn.com
- # post:
- # message: 'Thanks for inputting!'
+ pre:
+ message: 'I will now open espn.com in your default browser.'
+ action:
+ name: open_url
+ parameters:
+ url: http://www.espn.com
+ post:
+ message: 'Thanks for inputting!'
validators:
- - non_nil
- - alphabetic
+ # - alphabetic
+ # - alphanumeric
+ # - date
+ # - datetime
+ # - filepath_exists
+ # - non_nil
+ # - number
+ # - time
+ # - url
+ behaviors:
+ # - name: capitalize
+ # - name: expand_filepath
+ # - name: lowercase
+ # - name: prefix
+ # parameters:
+ # prefix: 'back'
+ # - name: suffix
+ # parameters:
+ # suffix: 'test'
+ # - name: titlecase
+ # - name: uppercase
\ No newline at end of file