Expand All
Collapse All
As a user, when I ask for help, I should be presented
with instructions on how to run the app.
As a user, when I initialize PinPress,
I should be guided through the process as
necessary.
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
As a user, I should be able to list available
templates and choose one.
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>" - name: secondary item: "* <%= href %>"
---> AVAILABLE TEMPLATES # 1. pinpress_default # 2. secondary
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>" - name: secondary item: "* <%= href %>"
---> AVAILABLE TEMPLATES # 1. pinpress_default # 2. secondary
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>" - name: secondary item: "* <%= href %>"
---> CHOOSE A DEFAULT TEMPLATE # Current Default Template: pinpress_default # Choose a New Template: # 1. pinpress_default # 2. secondary # Invalid choice: 4 # Invalid choice: 0 # Invalid choice: asd # New default template chosen: secondary
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: secondary log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>"
As a user, I should be able get pins from Pinboard
and have them inherit certain templates.
--- pinpress: config_location: "/tmp/pp/.pinpress" default_template: pinpress_default log_level: WARN version: 1.0.0 api_token: '12345' templates: - name: pinpress_default opener: "<ul>" item: "<li><b><a title=\"<%= description %>\" href=\"<%= href %>\" target=\"_blank\"><%= description %></a>.</b> <%= extended %></li>" closer: "</ul>" - name: secondary item: "* <%= href %>"