Provide a command to get the last id as well

Created on 14 September 2023, 10 months ago

Problem/Motivation

I found it useful in my personal project just know quickly from cli the last id of a given entity type (without having to set its next id), so I added to yours /src/Commands/EntityIdToolsCommands.php

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇹Italy kopeboy Mainland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kopeboy
  • @kopeboy opened merge request.
  • @kopeboy opened merge request.
  • Status changed to Needs review 10 months ago
  • 🇮🇹Italy kopeboy Mainland

    I hope the merge request is clear (I mainly copy-pasted what was already in your code), and it's working for me in the latest Drupal recommended install.
    I also too the liberty to improve the README a little because I couldn't immediately understand I had to provide the entity type machine_name after the commands 😊
    Thank you for the module!

Production build 0.69.0 2024