# Advanced Features Of The Graph CLI 

By [temitopeohassan.eth](https://paragraph.com/@temitopeohassan.eth) · 2024-04-05

---

If you build subgraphs, you are very familiar with the Graph CLI. It is the go to tool for initializing a subgraph, and deploying the subgraph

Over the years there have been a lot of improvements that have made the subgraph development process easier

Recently Saihajpreet Singh of The Guild gave a demonstration of the advanced features that are available in the Graph CLI

### Enable Autocomplete

In the Graph CLI, it is possible to enable autocomplete. This is an extremely useful and time saving feature that will enable the developer to achieve more in less time

### Bootstrap An Example

It is now possible to bootstrap an example subgraph using the Graph CLI. There are various example subgraphs  This is another time saving feature.

### Remove all generated and built artifacts

Usually when initializing a subgraph or when a codegen command is run, the Graph CLI provides various artifacts such as schema.graphql, tests etc. In the event that you would rather not have these, it is now possible to remove all the created artifacts using the Graph CLI

### Migrate A Hosted Service Subgraph to Studio

A number of Subgraphs are deployed on the hosted service. If your subgraph falls in this category, you can now migrate it to Studio directly using the Graph CLI

Asides from these new features, there are also the following quality of life improvements in the Graph CLI

*   Improve validation for manifest
    
*   Retires for etherscan calls
    
*   Provide docker-compose.yml in graph init
    
*   Improved error handling for graph deploy
    
*   Improved debug logs
    

All in all the subgraph development experience has been given a boost with the advanced features added to  the Graph CLI.

---

*Originally published on [temitopeohassan.eth](https://paragraph.com/@temitopeohassan.eth/advanced-features-of-the-graph-cli)*
