Azure / Azure/azure-table-archiver

Add command line interface support

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
3
Forks
10
Avg merge
2d 18h
Merged PRs (30d)
2

Description

A command line interface provides a way to perform backup, archive, and restore processes without having to build an application around the archiver library.

Example usage that will use the `Azure.Identity` `[DefaultAzureCredential](https://docs.microsoft.com/en-us/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet)` provider so it can use environment variables or prompt for Azure login and requires both resources be accessible by the authenticated user:
```
# Create an archive from tables to a blob container
aztablearchiver
archive
--tablesSubscription
--tablesResourceGroup
--tablesName
--containerSubscription
--containerResourceGroup
--containerName

# Restore an archive from a blob container to tables
aztablearchiver
restore
--containerSubscription
--containerResourceGroup
--containerName
--tablesSubscription
--tablesResourceGroup
--tablesName
```

Example usage that will use connection strings for both resources:
```
# Create an archive from tables to a blob container
aztablearchiver
archive
--tablesConnectionString
--containerConnectionString
--containerName

# Restore an archive from a blob container to tables
aztablearchiver
restore
--tablesConnectionString
--containerConnectionString
--containerName
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No implementation files or tests are named. Start by reviewing the existing archiver library API and the two documented archive/restore flows; done means a usable aztablearchiver command supports the listed Azure resource options and connection-string examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, fsharp
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.