This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """A script for managing various Claude Code service providers. | |
| ## How to use: | |
| 1. Install Claude Code: `npm install -g @anthropic-ai/claude-code` | |
| 2. Create profiles in `~/.config/claudewrapper-profiles.toml` with the following format: | |
| ```toml | |
| [default] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import abc | |
| import enum | |
| import functools | |
| import typing | |
| from collections.abc import Awaitable, Callable | |
| # pyright: strictGenericNarrowing=true | |
| class _Unset(enum.Enum): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| patchopt - User-level command parameter patcher, independent of shell. | |
| Stores custom args and envs in ~/.config/patchopt/patches.toml. | |
| Creates symlinks in ~/.local/bin to itself for aliases. | |
| Supports environment variable expansion at runtime. | |
| """ | |
| import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Author: NCBM (worldmozara) | |
| # Date: 2023-08-29 | |
| # License: MIT | |
| # | |
| # Copyright (c) 2023 NCBM | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal |