Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Create support for the --like option

Aberta
#557 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
cli

Direção de pesquisa

Start with the CLI Interface doc and the existing planet orders request command. Trace how order descriptions and the --clip and --search-id options are handled, then verify support for file, stdin, and order ID inputs, option overrides, and the stdin exclusivity rule.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

CLI/SDK Interface

From the CLI Interface doc:

Starting from an order description:

To create an order from an order description, use the --like option. This
option supports a file, stdin, and order id. Stdin can be used as input to
only one of the --like and --clip options.

If --like option is provided, all other options are not required. If they
are provided, they will override the corresponding entry in the order
description passed to --like.

To create an order using an order id and override the item IDs:

  $ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \
planet orders request \
      		--like --id 20200922_183724_23_106a,20200922_183722_17_106a

To the item ids can also be read from a saved search:

  $ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \
planet orders request --like - --search-id 897802165e8d4bd587e342a4b399eda6

To create an order using an order id and clip to an AOI:

  $ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \
planet orders request --like - --clip aoi.geojson 

Note that if the order description contains a tool chain with more tools
than just clip, using --clip will override the entire tool chain, not just
the clip tool.

Linguagem predominante
Python
Estrelas
300
Forks
100
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de planetlabs/planet-client-python

Todas as issues de planetlabs/planet-client-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.