question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a CLI way to change the order of fields properties in describe output?

See original GitHub issue

Is there a way in example to have name before all?

The default output is

- type: boolean
  name: UE
- type: boolean
  name: test

I think that to have name as the first properties is more human readable and I would like to have

- name: UE
  type: boolean
- name: test
  type: boolean

Thank you

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aborrusocommented, Nov 7, 2022

Were you asking for fixing the order (putting name first) or for the ability to customize this behavior by the user? We did the first one for now

thanks, now I get it

1reaction
rollcommented, Nov 7, 2022

Hi @aborruso,

Were you asking for fixing the order (putting name first) or for the ability to customize this behavior by the user? We did the first one for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Zapier CLI, Is there a way to change display order of output
The short answer is that FieldSchema.choices does not guarantee order of the properties it returns. However, that same thread indicates a ...
Read more >
describe-change-set — AWS CLI 1.27.27 Command Reference
describe -change-set is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results.
Read more >
Using Format commands to change output view - PowerShell
The Format-Table command assumes that properties are listed in order of importance.
Read more >
Input Variables - Configuration Language | Terraform
Learn how to declare, define, and reference variables in configurations. ... you can set their values using CLI options and environment variables.
Read more >
Content Delivery API | Contentful
The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma separated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found