nodiscc / hecat

Generic automation tool around data stored as plaintext YAML files
GNU General Public License v3.0
29 stars 5 forks source link

importers/shaarli_api: sort keys in each dict, in a sensible order #50

Open nodiscc opened 2 years ago

nodiscc commented 2 years ago

Make raw data more readable by ordering keys by "usefulness" for a human reader

- created: '2022-07-27T22:56:06+02:00'
  description: ''
  id: 6624
  private: false
  shorturl: zKVXxA
  tags:
  - video
  - vj
  - math
  - nodl
  title: The Burning Ship - A Fractal Zoom (5e598) (4k 60fps) - YouTube
  updated: '2022-07-29T14:15:39+02:00'
  url: https://www.youtube.com/watch?v=2S3lc2G3rWs

->

- title: The Burning Ship - A Fractal Zoom (5e598) (4k 60fps) - YouTube
  url: https://www.youtube.com/watch?v=2S3lc2G3rWs
  id: 6624
  private: false
  shorturl: zKVXxA
  created: '2022-07-27T22:56:06+02:00'
  updated: '2022-07-29T14:15:39+02:00'
  tags:
  - video
  - vj
  - math
  - nodl
  description: ''