Skip to content

Add command-line arguments and environment variable support#8

Open
mickeyschwab wants to merge 1 commit into
Shereef:mainfrom
mickeyschwab:accept-arguments
Open

Add command-line arguments and environment variable support#8
mickeyschwab wants to merge 1 commit into
Shereef:mainfrom
mickeyschwab:accept-arguments

Conversation

@mickeyschwab

Copy link
Copy Markdown
  • Add argparse support for --host, --cookie, --alexa-app, --delete-skill or equivalent environment vars, prompt for missing values
  • Extract common header building and device transformation
  • Fix retry logic bug in delete functions (was breaking and not retrying)

- Add argparse support for --host, --cookie, --alexa-app, --delete-skill
- Support environment variables (ALEXA_HOST, ALEXA_COOKIE, etc.)
- Script now prompts only for missing values
- Extract common header building functions
- Extract device ID transformation function
- Fix retry logic bug in delete functions
- Remove hardcoded Content-Length header
- Update README with new usage patterns and examples
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.

1 participant