Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit 8669390

Browse files
committed
* Configure Cake CI/CD
* Set up CI with Azure Pipelines * Add Readme, License
1 parent 2da622b commit 8669390

File tree

14 files changed

+806
-4
lines changed

14 files changed

+806
-4
lines changed

CONTRIBUTING.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# Contributing to [LocalStack.NET AWS CLI](https://github.com/localstack-dotnet/localstack-awscli-local)
2+
3+
All kind of pull requests even for things like typos, documentation, test cases, etc are always welcome. By submitting a pull request for this project, you agree to license your contribution under the MIT license to this project.
4+
5+
Please read these guidelines before contributing to LocalStack.NET AWS CLI:
6+
7+
- [Question or Problem?](#question)
8+
- [Issues and Bugs](#issue)
9+
- [Feature Requests](#feature)
10+
- [Submitting a Pull Request](#submit-pull-request)
11+
- [Getting Started](#getting-started)
12+
- [Pull Requests](#pull-requests)
13+
14+
## <a name="question"></a> Got a Question or Problem?
15+
16+
If you have questions about how to use LocalStack.NET AWS CLI, you can ask by submitting an issue to the [GitHub Repository][github]
17+
18+
## <a name="issue"></a> Found an Issue?
19+
20+
If you find a bug in the source code or a mistake in the documentation, you can help by
21+
submitting an issue to the [GitHub Repository][github]. Even better you can submit a Pull Request
22+
with a fix.
23+
24+
When submitting an issue please include the following information:
25+
26+
- A description of the issue
27+
- The exception message and stacktrace if an error was thrown
28+
- If possible, please include code that reproduces the issue. [DropBox][dropbox] or GitHub's
29+
[Gist][gist] can be used to share large code samples, or you could
30+
[submit a pull request](#pullrequest) with the issue reproduced in a new test.
31+
32+
The more information you include about the issue, the more likely it is to be fixed!
33+
34+
35+
## <a name="feature"></a> Want a Feature?
36+
37+
You can request a new feature by submitting an issue to the [GitHub Repository][github]
38+
39+
## <a name="submit-pull-request"></a> Submitting a Pull Request
40+
41+
Good pull requests, patches, improvements and new features are a fantastic
42+
help. They should remain focused in scope and avoid containing unrelatedcahe
43+
commits. When submitting a pull request to the [GitHub Repository][github] make sure to do the following:
44+
45+
- Check that new and updated code follows LocalStack.NET AWS CLI's existing code formatting and naming standard
46+
- Run LocalStack.NET AWS CLI's unit tests to ensure no existing functionality has been affected
47+
- Write new unit tests to test your changes. All features and fixed bugs must have tests to verify
48+
they work
49+
50+
Read [GitHub Help][pullrequesthelp] for more details about creating pull requests.
51+
52+
### <a name="getting-started"></a> Getting Started
53+
54+
- Make sure you have a [GitHub account](https://github.com/signup/free)
55+
- Submit a ticket for your issue, assuming one does not already exist.
56+
- Clearly describe the issue including steps to reproduce the bug.
57+
- Fork the repository on GitHub
58+
59+
### <a name="pull-requests"></a> Pull requests
60+
61+
Adhering to the following process is the best way to get your work
62+
included in the project:
63+
64+
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
65+
and configure the remotes:
66+
67+
```bash
68+
# Clone your fork of the repo into the current directory
69+
git clone git@github.com:<user-name>/localstack-awscli-local.git
70+
# Navigate to the newly cloned directory
71+
cd <folder-name>
72+
# Assign the original repo to a remote called "upstream"
73+
git remote add upstream git@github.com:localstack-dotnet/localstack-awscli-local.git
74+
```
75+
76+
2. If you cloned a while ago, get the latest changes from upstream:
77+
78+
```bash
79+
git checkout master
80+
git pull upstream master
81+
```
82+
83+
3. Create a new topic branch (off the main project development branch) to
84+
contain your feature, change, or fix:
85+
86+
```bash
87+
git checkout -b <topic-branch-name>
88+
```
89+
90+
4. Commit your changes in logical chunks. Use Git's
91+
[interactive rebase](https://help.github.com/articles/interactive-rebase)
92+
feature to tidy up your commits before making them public.
93+
94+
5. Locally merge (or rebase) the upstream development branch into your topic branch:
95+
96+
```bash
97+
git pull [--rebase] upstream master
98+
```
99+
100+
6. Push your topic branch up to your fork:
101+
102+
```bash
103+
git push origin <topic-branch-name>
104+
```
105+
106+
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
107+
with a clear title and description against the `master` branch.
108+
109+
110+
[github]: https://github.com/localstack-dotnet/localstack-awscli-local
111+
[dropbox]: https://www.dropbox.com
112+
[gist]: https://gist.github.com
113+
[pullrequesthelp]: https://help.github.com/articles/using-pull-requests

ISSUE_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Expected Behavior
2+
3+
4+
## Actual Behavior
5+
6+
7+
## Steps to Reproduce the Problem
8+
9+
1.
10+
1.
11+
1.
12+
13+
## Specifications
14+
15+
- Version:
16+
- Platform:
17+
- Subsystem:

README.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,50 @@
1-
# localstack-awscli-local
2-
.NET Core global tool, thin wrapper around the "aws" command line interface for use with LocalStack
1+
# LocalStack.NET AWS CLI
2+
3+
This .NET Core global tool provides the `awslocal` command, which is a thin wrapper around the `aws`
4+
command line interface for use with [LocalStack](https://github.com/localstack/localstack). This tool is a .NET Core port of the
5+
[LocalStack AWS CLI](https://github.com/localstack/awscli-local) for the people who have experienced issues with LocalStack AWS CLI.
6+
7+
## Installation
8+
9+
You can install the `awslocal` command via `.NET Core CLI`:
10+
11+
```
12+
dotnet tool install --global LocalStack.AwsLocal
13+
```
14+
15+
## Usage
16+
17+
The `awslocal` command has the same usage as the `aws` command. For detailed usage,
18+
please refer to the man pages of `aws help`.
19+
20+
## Example
21+
22+
Instead of the following command ...
23+
24+
```
25+
aws --endpoint-url=http://localhost:4568 kinesis list-streams
26+
```
27+
28+
... you can simply use this:
29+
30+
```
31+
awslocal kinesis list-streams
32+
```
33+
34+
## Configurations
35+
36+
You can use the following environment variables for configuration:
37+
38+
* `LOCALSTACK_HOST`: Set the hostname for the localstack instance. Useful when you have
39+
localstack is bound to another interface (i.e. docker-machine).
40+
* `USE_SSL`: Whether to use `https` endpoint URLs (required if LocalStack has been started
41+
with `USE_SSL=true` enabled). Defaults to `false`.
42+
43+
<!-- ## Change Log
44+
45+
* v0.4: Minor fix for Python 3 compatibility -->
46+
47+
## <a name="license"></a> License
48+
49+
Licensed under MIT, see [LICENSE](LICENSE) for the full text.
50+

0 commit comments

Comments
 (0)